<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	template="/WEB-INF/templates/template.xhtml">
	
	<ui:define name="menu">
	</ui:define>
	<ui:define name="title">
		Login
		</ui:define>

	<ui:define name="content">
		<h:form>
			<div>
				<p:commandButton value="Ajax Submit"
					action="#{loginController.login}" update="nomeCurso" />
				<p:outputPanel id="nomeCurso">
					<h:inputText value="#{loginController.usuario}" />

				</p:outputPanel>
			</div>
		</h:form>
</ui:define>


</html>

